home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_100 / 153_01 / readc.c < prev    next >
Text File  |  1985-03-09  |  896b  |  21 lines

  1. /*                          *** readc.c ***                          */
  2. /*                                                                   */
  3. /* IBM-PC microsoft "C" under PC-DOS v2.0                            */
  4. /*                                                                   */
  5. /* Function to read a character to the screen using a DOS function.  */
  6. /*                                                                   */
  7. /* Written by L. Cuthbertson, March 1984.                            */
  8. /*                                                                   */
  9. /*********************************************************************/
  10. /*                                                                   */
  11. int readc()
  12. {
  13.     int bdos();
  14.  
  15.     return(bdos(8));
  16. }
  17. ***********************************
  18. ;
  19. ;                        *** KEYBOARD I/O ***
  20. ;
  21. ; NOTE - Keyboard in